package com.zzcon.sckill.common;


import io.swagger.annotations.ApiModelProperty;

public class AjaxResponseDTO <T>{

    @ApiModelProperty("是否操作成功")
    private Boolean success = false;

    @ApiModelProperty("返回数据")
    private T data;

    @ApiModelProperty("错误信息")
    private String errorMsg;

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }
}
